<%--
  Created by IntelliJ IDEA.
  User: Champion
  Date: 2023/12/6
  Time: 8:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page import="java.util.Date" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <link rel="stylesheet" type="text/css" href="/css/person.css">
    <title>个人中心</title>
</head>
<body>

<div id="hm-app-main" class="main" style="min-height: 865px;">
    <div ui-view="" class="ng-scope">
        <div class="main-view active ng-scope">
            <div class="content">
                <div class="head">
                    <div class="inner">
                        <h2>个人中心</h2>
                    </div>
                </div>
                <div class="article">
                    <div class="infoone">
                        <ul class="margin-top20">
                            <li>
                                <span class="row-header fl align-right">账号</span>
                                <p class="contentShow fl align-left ng-binding">${user.loginId}</p>
                            </li>
                        </ul>
                        <ul>
                            <li>
                                <span class="row-header fl align-right">姓名</span>
                                <input id="userName" type="text" class="text-input" value="${user.userName}">
                            </li>
                        </ul>
                        <ul>
                            <li>
                                <span class="row-header fl align-right">密码</span>
                                <input id="password" type="password" class="text-input" value="${user.password}">
                            </li>
                        </ul>
                        <ul>
                            <li>
                                <span class="row-header fl align-right">确认密码</span>
                                <input id="passwordSure" type="password" class="text-input" value="${user.password}">
                            </li>
                        </ul>
                        <ul>
                            <li>
                                <span class="row-header fl align-right">手机号</span>
                                <input id="phone" type="text" class="text-input" value="${user.phone}">
                            </li>
                        </ul>
                        <ul>
                            <li>
                                <span class="row-header fl align-right">邮箱</span>
                                <input id="email" type="text" class="text-input" value="${user.email}">
                            </li>
                        </ul>
                        <ul>
                            <li>
                                <span class="row-header fl align-right">注册类型</span>
                                <select id="registType" class="text-input" value="${user.registType}">
                                    <option value="教师" ${user.registType=='教师'?'selected':''}>教师</option>
                                    <option value="学生" ${user.registType=='学生'?'selected':''}>学生</option>
                                </select>
                            </li>
                        </ul>
                        <ul>
                            <li>
                                <span class="row-header fl align-right">性别</span>
                                <select id="sex" class="text-input" value="${user.sex}">
                                    <option value="男" ${user.sex=='男'?'selected':''}>男</option>
                                    <option value="女" ${user.sex=='女'?'selected':''}>女</option>
                                </select>
                            </li>
                        </ul>
                        <ul>
                            <li>
                                <button type="button" class="button-save" onclick="save()">保存</button>
                                <button type="button" class="button-cancel" onclick="cancel()">取消</button>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="child-view ng-scope">
            <ui-view class="ng-scope">

            </ui-view>
        </div>
    </div>
</div>

</body>
</html>
<script src="/js/person.js?_t=<%=new Date().getSeconds() %>" type="text/javascript"></script>
